package com.akino.gulimall.order.feign;

import com.akino.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author Akino
 * @version 1.0
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {
    @GetMapping("/skuId/{skuId}")
    public R getSpuInfoBySkuId(@PathVariable("skuId")Long skuId);
}
